import { ref } from 'vue'

const inputEffect = () => {
  const inputValue = ref('')
  const handleInputChange = e => {
    inputValue.value = e.target.value
  }
  return {
    inputValue,
    handleInputChange
  }
}

export default inputEffect
